.nav {
  display: flex;
  align-items: center;
}

.nav > section:nth-child(1) img {
  width: 220px;
  display: inline-block;
  margin-top: 5%;
}
.nav > section:nth-child(1) {
  /* border: 1px solid orangered; */
  flex: 1;
  text-align: right;
  align-self: stretch;
}

/* 2 flex */
.nav > section:nth-child(2) {
  /* align-self: stretch; */
  display: flex;
  flex-direction: column;
  flex: 2;
  /* border: 1px solid orange; */
  /* margin-top: 3%; */
}

.nav > section:nth-child(2) > div:nth-child(2) {
  display: flex;
  /* flex-direction: column; */
  font-size: 14px;
  color: cadetblue;
  justify-content: space-between;
  margin-top: 5px;
}

.nav > section:nth-child(2) > div:nth-child(2) div:first-child {
  color: red;
}
.nav > section:nth-child(2) > div:nth-child(2) div {
  /* flex: 1; */
  /* padding: 0 2px; */
}

.nav > section:nth-child(2) > div:nth-child(3) {
  /* flex-direction: column; */
  margin-top: 50px;
  font-size: 18px;
  white-space: nowrap;
}

.nav > section:nth-child(2) > div:nth-child(3) li {
  /* padding: 0 15px; */
  margin-right: 30px;
}

.nav > section:nth-child(2) > div:nth-child(3) li:nth-child(-n + 2) {
  color: red;
}
.nav > section:nth-child(2) > div:nth-child(3) ul {
  display: flex;
  justify-content: space-between;
  /* flex-direction: column; */
}

.nav > section:nth-child(2) > div:nth-child(1) {
  display: flex;
}

.nav > section:nth-child(2) > div:nth-child(1) input {
  border: 3px solid red;
  /* border-radius: none; */
  height: 40px;
  width: 100%;
  outline: none;
}

.nav > section:nth-child(2) > div:nth-child(1) > div:nth-child(2) {
  position: absolute;
  right: 12%;
  line-height: 3em;
}

.nav > section:nth-child(2) > div:nth-child(1) > div:nth-child(3) {
  background-color: red;
  height: 46px;
  width: 60px;
  color: white;
  line-height: 3em;
  text-align: center;
}

.nav > section:nth-child(2) > div:nth-child(1) > div:nth-child(3) i {
  font-size: 20px;
}
/* 3 flex */

.nav > section:nth-child(3) {
  flex: 1;
  /* border: 1px solid orange; */
  display: flex;
  flex-direction: column;
  align-self: stretch;
  /* margin-top: 2%; */
  /* position: relative; */
  margin-left: 15px;
}

.nav > section:nth-child(3) img {
  width: 75px;
}
.nav > section:nth-child(3) > div:nth-child(1) {
  display: flex;
  color: red;
  margin-top: 5%;
}

.nav > section:nth-child(3) > div:nth-child(1) > div:nth-child(1) {
  display: flex;
  white-space: nowrap;
  border: 1px solid #ccc;
  padding: 5px 15px;
  height: 35px;
  line-height: 2em;
}

.nav > section:nth-child(3) > div:nth-child(1) > div:nth-child(2) {
  /* position: absolute; */
  margin-left: 20px;
}

.nav > section:nth-child(3) > div:nth-child(2) ul {
  /* position: absolute; */
  margin-top: 34px;
  display: flex;
  font-size: 18px;
  /* white-space: nowrap; */
}

.nav > section:nth-child(3) > div:nth-child(2) ul li {
  /* position: absolute; */
  /* margin-top: 32px;
  display: flex;
  font-size: 18px; */
  /* white-space: nowrap; */
  flex: 1;
}
